package com.wanlian.vo;


import com.wanlian.entity.NoticeMsg;
import com.wanlian.entity.User;

public class NoticeMsgResultVo
{
    private NoticeMsg noticeMsg;

    private User user;

    private boolean isAll;

    private boolean isSingleAndroid;

    private boolean isSingleIOS;

    public NoticeMsgResultVo()
    {
        isSingleAndroid = true;
        isSingleIOS = true;
    }

    public NoticeMsg getNoticeMsg()
    {
        return noticeMsg;
    }

    public void setNoticeMsg(NoticeMsg noticeMsg)
    {
        this.noticeMsg = noticeMsg;
    }

    public User getUser()
    {
        return user;
    }

    public void setUser(User user)
    {
        this.user = user;
    }

    public boolean isAll()
    {
        return isAll;
    }

    public void setAll(boolean isAll)
    {
        this.isAll = isAll;
    }

    public boolean isSingleAndroid()
    {
        return isSingleAndroid;
    }

    public void setSingleAndroid(boolean isSingleAndroid)
    {
        this.isSingleAndroid = isSingleAndroid;
        this.isSingleIOS = !isSingleAndroid;
    }

    public boolean isSingleIOS()
    {
        return isSingleIOS;
    }

    public void setSingleIOS(boolean isSingleIOS)
    {
        this.isSingleIOS = isSingleIOS;
        this.isSingleAndroid = !isSingleIOS;

    }

}
